package com.mico.example.springboot.exception.handler.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by micocube
 * ProjectName: springboot-example
 * PackageName: com.mico.example.springboot.exception.handler.controller
 * User: micocube
 * Email: ldscube@gmail.com
 * CreateTime: 2019-03-0814:33
 * ModifyTime: 2019-03-0814:33
 * Version: 0.1
 * Description:
 **/
@RestController
public class UserController {
    @GetMapping("/div")
    public Integer getDivisionResult(){
        return 1/0;
    }
}
